import request from '@/utils/request'
const baseUrl = 'ap/log'
export class LogManageApi {

    //导出RSII日志
    static reqDownloadLog(data:any){
        return request.post(`${baseUrl}/export`,data)
    }

    //获取完整日志
    static reqGetFullLog(data:any){
        return request.post(`${baseUrl}/whole`,data)
    }

    // 选择日志获取
    static reqGetSelectLog(data:any){
        return request.post(`${baseUrl}/select`,data)
    }

    // 增量日志获取
    static reqGetIncrementalLog(data:any){
        return request.post(`${baseUrl}/increment`,data)
    }

    //导出日志
    static reqExportLog(data:any){
        return request.post(`${baseUrl}/export`,data)
    }

    //清除日志
    static reqClearLog(data:any){
        return request.post(`${baseUrl}/clear`,data)
    }

    // 日志等级设置
    static reqLogLevelSetting(data:any){
        return request.post(`${baseUrl}/log_level_set`,data)
    }

    // 日志等级获取
    static reqLogLevelGet(){
        return request.post(`${baseUrl}/log_level_get`)
    }
}